package com.nsyue.auth.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * 用户第三方授权信息表(UserThird)表实体类
 *
 * @author laixm
 * @since 2023-05-06 15:18:01
 */
@SuppressWarnings("serial")
public class UserThird extends Model<UserThird> {
    //主键id
    private Long id;
    //用户id
    private Long userId;
    //第三方登录类型(1微信/2QQ/3微博)
    private Integer loginType;
    //第三方应用的唯一标识
    private String openid;
    //第三方的保存 token
    private String accessToken;
    //绑定时间
    private Date bindingTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Date getBindingTime() {
        return bindingTime;
    }

    public void setBindingTime(Date bindingTime) {
        this.bindingTime = bindingTime;
    }

}

